<?php

namespace AdminBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * BaseDeviceExtra
 *
 * @ORM\Table(name="base_device_extra")
 * @ORM\Entity
 */
class BaseDeviceExtra
{
    /**
     * @var string
     *
     * @ORM\Column(name="inner_ip", type="string", length=20, nullable=false)
     */
    private $innerIp;

    /**
     * @var string
     *
     * @ORM\Column(name="outer_ip", type="string", length=20, nullable=false)
     */
    private $outerIp;

    /**
     * @var string
     *
     * @ORM\Column(name="bssid", type="string", length=45, nullable=false)
     */
    private $bssid = '';

    /**
     * @var integer
     *
     * @ORM\Column(name="status", type="integer", nullable=false)
     */
    private $status = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="status_text", type="string", length=45, nullable=false)
     */
    private $statusText = '';

    /**
     * @var integer
     *
     * @ORM\Column(name="free_disk", type="integer", nullable=false)
     */
    private $freeDisk = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="last_request_ip", type="string", length=20, nullable=false)
     */
    private $lastRequestIp = '';

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="last_request_time", type="datetime", nullable=false)
     */
    private $lastRequestTime = '0000-00-00 00:00:00';

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="last_report_time", type="datetime", nullable=false)
     */
    private $lastReportTime = '0000-00-00 00:00:00';

    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     */
    private $id;


    /**
     * Set innerIp
     *
     * @param string $innerIp
     *
     * @return BaseDeviceExtra
     */
    public function setInnerIp($innerIp)
    {
        $this->innerIp = $innerIp;

        return $this;
    }

    /**
     * Get innerIp
     *
     * @return string
     */
    public function getInnerIp()
    {
        return $this->innerIp;
    }

    /**
     * Set outerIp
     *
     * @param string $outerIp
     *
     * @return BaseDeviceExtra
     */
    public function setOuterIp($outerIp)
    {
        $this->outerIp = $outerIp;

        return $this;
    }

    /**
     * Get outerIp
     *
     * @return string
     */
    public function getOuterIp()
    {
        return $this->outerIp;
    }

    /**
     * Set bssid
     *
     * @param string $bssid
     *
     * @return BaseDeviceExtra
     */
    public function setBssid($bssid)
    {
        $this->bssid = $bssid;

        return $this;
    }

    /**
     * Get bssid
     *
     * @return string
     */
    public function getBssid()
    {
        return $this->bssid;
    }

    /**
     * Set status
     *
     * @param integer $status
     *
     * @return BaseDeviceExtra
     */
    public function setStatus($status)
    {
        $this->status = $status;

        return $this;
    }

    /**
     * Get status
     *
     * @return integer
     */
    public function getStatus()
    {
        return $this->status;
    }

    /**
     * Set statusText
     *
     * @param string $statusText
     *
     * @return BaseDeviceExtra
     */
    public function setStatusText($statusText)
    {
        $this->statusText = $statusText;

        return $this;
    }

    /**
     * Get statusText
     *
     * @return string
     */
    public function getStatusText()
    {
        return $this->statusText;
    }

    /**
     * Set freeDisk
     *
     * @param integer $freeDisk
     *
     * @return BaseDeviceExtra
     */
    public function setFreeDisk($freeDisk)
    {
        $this->freeDisk = $freeDisk;

        return $this;
    }

    /**
     * Get freeDisk
     *
     * @return integer
     */
    public function getFreeDisk()
    {
        return $this->freeDisk;
    }

    /**
     * Set lastRequestIp
     *
     * @param string $lastRequestIp
     *
     * @return BaseDeviceExtra
     */
    public function setLastRequestIp($lastRequestIp)
    {
        $this->lastRequestIp = $lastRequestIp;

        return $this;
    }

    /**
     * Get lastRequestIp
     *
     * @return string
     */
    public function getLastRequestIp()
    {
        return $this->lastRequestIp;
    }

    /**
     * Set lastRequestTime
     *
     * @param \DateTime $lastRequestTime
     *
     * @return BaseDeviceExtra
     */
    public function setLastRequestTime($lastRequestTime)
    {
        $this->lastRequestTime = $lastRequestTime;

        return $this;
    }

    /**
     * Get lastRequestTime
     *
     * @return \DateTime
     */
    public function getLastRequestTime()
    {
        return $this->lastRequestTime;
    }

    /**
     * Set lastReportTime
     *
     * @param \DateTime $lastReportTime
     *
     * @return BaseDeviceExtra
     */
    public function setLastReportTime($lastReportTime)
    {
        $this->lastReportTime = $lastReportTime;

        return $this;
    }

    /**
     * Get lastReportTime
     *
     * @return \DateTime
     */
    public function getLastReportTime()
    {
        return $this->lastReportTime;
    }

    /**
     * Get id
     *
     * @return integer
     */
    public function getId()
    {
        return $this->id;
    }

    public function setId($id)
    {
        $this->id = $id;
        return $this;
    }
}
